package com.lucky.auth_boot.pojo.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("auth_pirate")
public class PiratePO {
    private Integer id;
    private String domainName;
    private String databaseUsername;
    private String databasePassword;
    private String databaseName;
    private String adminUsername;
    private String adminPassword;
    private Integer isDelete;
    private Integer creator;
    private Integer updater;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

}
